import { componentMap } from "./index";

const ComponentsFactory = {
  //首页组件
  path: '/EleStrengthen',
  redirect: "noRedirect",
  name: "EleStrengthen",
  component: componentMap['Layout'],
  meta: { title: '第三方组件' },
  children: [
    {
      path: '/DatePicker',
      name: 'DatePicker',
      component: componentMap['DatePicker'],
      meta: { title: '日期控件' }
    },
    {
      path: '/NavMenu',
      name: 'NavMenu',
      component: componentMap['NavMenu'],
      meta: { title: '导航菜单' }
    },
    {
      path: '/Tooltip',
      name: 'Tooltip',
      component: componentMap['Tooltip'],
      meta: { title: '文字提示' }
    },
    {
      path: '/Badge',
      name: 'Badge',
      component: componentMap['Badge'],
      meta: { title: '标记' }
    },
    //  {
    //   path: '/Breadcrumb',
    //   name: 'Breadcrumb',
    //   component: componentMap['Breadcrumb'],
    //   meta: { title: '面包屑' }
    // },
    {
      path: '/Collapse',
      name: 'Collapse',
      component: componentMap['Collapse'],
      meta: { title: '折叠面板' }
    },
    {
      path: '/Rate',
      name: 'Rate',
      component: componentMap['Rate'],
      meta: { title: '评分' }
    },
    {
      path: '/Tree',
      name: 'Tree',
      component: componentMap['Tree'],
      meta: { title: '树状控件' }
    },
  ]
}




export default ComponentsFactory;
